package com.gec.wiki.service;

import com.gec.wiki.po.Ebook;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.wiki.po.req.EbookQueryReq;
import com.gec.wiki.po.resp.EbookQueryResp;
import com.gec.wiki.po.resp.PageResp;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 电子书 服务类
 * </p>
 *
 * @author 林云
 * @since 2023-10-30
 */
public interface IEbookService extends IService<Ebook> {

    List<EbookQueryResp> getEbookByName(String name);

    String uploadImage(MultipartFile file, String s);

    PageResp<EbookQueryResp> getEbookListByPage(EbookQueryReq ebookQueryReq);

}
